package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;
import com.itheima.pojo.AddressVo;

import java.util.List;

public interface AddressDao {
    //查询地址通过条件
    public Page<Address> findAddressListByQuery(String queryString);
    //添加地址
    void add(Address address);
    //修改地址
    void edit(Address address);
    //删除地址通过id
    void deleteById(Integer id);
    //获取标点信息
    public List<Address> getAllAddress();

    List<String> getAddressNames();
}
